package main

import (
	"fmt"
	"gin-admin/utils"
)

func main() {
	pwd, err := utils.GeneratePassword("123456")
	if err != nil {
		fmt.Printf("密码生成失败: %v", err)
		return
	}
	fmt.Println(pwd)
	verify := utils.VerifyPasswordWithHashedPassword(pwd, "1234567")
	fmt.Println(verify)
}
